import { StatusEnum } from '@/types/enum'

export interface RoleCriteria {
  key?: string | null
  name?: string | null
  status?: StatusEnum | null
  create_time?: [number, number] | null
}

export interface RoleModalDto {
  id?: number | null
  key: string
  name: string
  sort: number
  status: StatusEnum
  menu_ids: {
    checkedKeys: number[]
    halfCheckedKeys: number[]
  }
  remark?: string | null
}
